package com.juicygames.framework;

import android.util.Log;

import com.juicygames.framework.type.Point;

public class GameMath {
	
	public static double distance(Point p1, Point p2) {
		double distance = Math.sqrt(Math.pow(p2.x-p1.x,2)+Math.pow(p2.y-p1.y,2));
		Log.v("GameMath.distance", "distance is " + distance);
		return distance;
	}

}
